package com.example.exammaster.pojo;

public class Topic {

    private int id;
    private String img;
    private String title;
    private String date;
    private String submitImg;

    public Topic() {
    }

    public Topic(int id, String img, String title, String date, String submitImg) {
        this.id = id;
        this.img = img;
        this.title = title;
        this.date = date;
        this.submitImg = submitImg;
    }

    public int getId() {
        return id;
    }

    public String getImg() {
        return img;
    }

    public String getTitle() {
        return title;
    }

    public String getDate() {
        return date;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getSubmitImg() {
        return submitImg;
    }

    public void setSubmitImg(String submitImg) {
        this.submitImg = submitImg;
    }

    @Override
    public String toString() {
        return "Topic{" +
                "id=" + id +
                ", img='" + img + '\'' +
                ", title='" + title + '\'' +
                ", date='" + date + '\'' +
                ", submitImg='" + submitImg + '\'' +
                '}';
    }
}
